home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Internet / FeedDemon / FeedDemonInstall.exe / {app} / Data / Styles / postactions.inc < prev    next >
Encoding:
Text File  |  2009-09-20  |  6.0 KB  |  146 lines

  1. <!-- postactions.inc -->
  2. <div class="postactions">
  3.     <!-- mark read/unread -->
  4.     <xsl:if test="$NWSP-ICON-MARKREAD$!=0">
  5.         <a class="icon" href="fdaction:?action=toggleread&feedid={$feedId}&postid={$postId}" title="$LANG_CONST(S_NewsHintToggleRead)$">
  6.             <xsl:choose>
  7.                 <xsl:when test="state/@read=1">
  8.                     <img id="{$postId}_img_read" src="$IMAGEDIR$read.gif" class="icon" align="absmiddle" />
  9.                 </xsl:when>
  10.                 <xsl:otherwise>
  11.                     <img id="{$postId}_img_read" src="$IMAGEDIR$unread.gif" class="icon" align="absmiddle" />
  12.                 </xsl:otherwise>
  13.             </xsl:choose>
  14.         </a>
  15.     </xsl:if>
  16.     
  17.     <!-- toggle flag -->
  18.     <xsl:if test="$NWSP-ICON-FLAG$!=0">
  19.         <a class="icon" href="fdaction:?action=toggleflag&feedid={$feedId}&postid={$postId}" title="$LANG_CONST(S_NewsHintToggleFlag)$">
  20.             <xsl:choose>
  21.                 <xsl:when test="state/@flagged!=0">
  22.                     <img id="{$postId}_img_flag" src="$IMAGEDIR$star-on.png" class="icon" align="absmiddle" />
  23.                 </xsl:when>
  24.                 <xsl:otherwise>
  25.                     <img id="{$postId}_img_flag" src="$IMAGEDIR$star-off.png" class="icon" align="absmiddle" />
  26.                 </xsl:otherwise>
  27.             </xsl:choose>
  28.         </a>
  29.     </xsl:if>
  30.     
  31.     <!-- delete post -->
  32.     <xsl:if test="$NWSP-ICON-DELETE$!=0 or $feed-type='newsbin'">
  33.         <a class="icon" href="fdaction:?action=deletePost&feedid={$feedId}&postid={$postId}" title="$LANG_CONST(S_NewsHintDeletePost)$">
  34.             <img id="{$postId}_img_delete" src="$IMAGEDIR$deletepost.gif" class="icon" align="absmiddle" />
  35.         </a>
  36.     </xsl:if>
  37.     
  38.     <!-- email post -->
  39.     <xsl:if test="$NWSP-ICON-EMAIL$!=0">
  40.         <a class="icon" href="fdaction:?action=emailpost&feedid={$feedId}&postid={$postId}" title="$LANG_CONST(S_NewsHintEmail)$">
  41.             <img src="$IMAGEDIR$email.png" class="icon" align="absmiddle" />
  42.         </a>
  43.     </xsl:if>
  44.     
  45.     <!-- GeoRSS -->
  46.     <xsl:if test="point and ($NWSP-ICON-GEORSS$!=0)">
  47.         <a class="icon" href="fdaction:?action=mapthis&type=point&data={point}" title="$LANG_CONST(S_NewsHintMapThis)$">
  48.             <img src="$IMAGEDIR$geotag.gif" class="icon" align="absmiddle" />
  49.         </a>    
  50.     </xsl:if>
  51.     
  52.     <!-- add to clippings -->
  53.     <xsl:if test="$NWSP-ICON-CLIP$!=0">
  54.         <a class="icon" href="fdaction:?action=addtonewsbin&feedid={$feedId}&postid={$postId}" title="$LANG_CONST(S_NewsHintAddToNewsBin)$">
  55.             <img src="$IMAGEDIR$newsbin.gif" class="icon" align="absmiddle" />
  56.         </a>
  57.     </xsl:if>
  58.         
  59.     <!-- share -->
  60.     <xsl:if test="$NWSP-ICON-SHARE$!=0 and $feed-type!='newsbin'">
  61.         <span class="sep">|</span>
  62.         <a class="share icon" href="fdaction:?action=sharepost&feedid={$feedId}&postid={$postId}&addnote=0" title="$LANG_CONST(S_NewsHintShare)$">
  63.             <img id="{$postId}_shareicon" src="$IMAGEDIR$share.png" class="icon" align="absmiddle" /> $LANG_CONST(S_Share)$
  64.         </a>
  65.         <!-- share with note (annotate) -->
  66.         <xsl:if test="$NWSP-ICON-ANNOTATE$!=0">
  67.             <a class="icon" href="fdaction:?action=sharepost&feedid={$feedId}&postid={$postId}&addnote=1" title="$LANG_CONST(S_NewsHintShareAnnotate)$">
  68.                 <img src="$IMAGEDIR$note.gif" class="icon" align="absmiddle" />
  69.             </a>
  70.         </xsl:if>
  71.     </xsl:if>
  72.     
  73.     <!-- add post to del.icio.us-->
  74.     <xsl:if test="$NWSP-ICON-DELICIOUS$!=0">
  75.         <a class="icon" href="fdaction:?action=posttodelicious&feedid={$feedId}&postid={$postId}" title="$LANG_CONST(S_NewsHintPostToDelicious)$">
  76.             <img src="$IMAGEDIR$delicious.gif" class="icon" align="absmiddle" />
  77.         </a>
  78.     </xsl:if>
  79.     
  80.     <!-- send to -->
  81.     <xsl:if test="$NWSP-ICON-SENDTO$!=0">
  82.         <a class="icon" href="fdaction:?action=sendto&feedid={$feedId}&postid={$postId}" title="$LANG_CONST(S_NewsHintSendTo)$">
  83.             <img src="$IMAGEDIR$sendto.gif" class="icon" align="absmiddle" />
  84.         </a>
  85.     </xsl:if>
  86.     
  87.     <!-- link to actual post -->
  88.     <xsl:if test="$NWSP-ICON-POSTLINK$!=0">
  89.         <a href="{link}" title="$LANG_CONST(S_NewsHintOpenLink)$"><img src="$IMAGEDIR$link.gif" class="icon" align="absmiddle" /></a>
  90.     </xsl:if>
  91.     
  92.     <!-- comment link -->
  93.     <xsl:if test="comments and ($NWSP-ICON-COMMENTS$!=0)">
  94.         <span class="sep">|</span>
  95.         <xsl:if test="comments/@htmlUrl">
  96.             <a class="icon" href="{comments/@htmlUrl}" title="$LANG_CONST(S_NewsHintComments)$">
  97.                 <img src="$IMAGEDIR$comments.gif" class="icon" align="absmiddle" />
  98.             </a>
  99.         </xsl:if>
  100.         <!-- comment feed for this post -->
  101.         <xsl:if test="comments/@xmlUrl">
  102.             <xsl:variable name="commentfeed">fdaction:?action=subscribe&url=<xsl:value-of select="comments/@xmlUrl" disable-output-escaping="yes"/></xsl:variable>
  103.             <a href="{$commentfeed}" title="$LANG_CONST(S_NewsHintSubscribeCommentFeed)$">
  104.                 <img src="$IMAGEDIR$comment-feed.png" align="absmiddle" class="icon" />
  105.             </a>
  106.         </xsl:if>        
  107.     </xsl:if>
  108.         
  109.     <!-- tags -->
  110.     <xsl:if test="$NWSP-ICON-TAGS$!=0">
  111.         <span class="sep">|</span>
  112.         <a class="icon" href="fdaction:?action=editposttags&feedid={$feedId}&postid={$postId}" title="$LANG_CONST(S_NewsHintEditTags)$">
  113.             <img src="$IMAGEDIR$tag.png" class="icon" align="absmiddle" />
  114.         </a>
  115.         <!-- tag menu -->
  116.         <a class="icon" href="fdaction:?action=showtagmenu&feedid={$feedId}&postid={$postId}" title="$LANG_CONST(S_NewsHintTagMenu)$">
  117.             <img src="$IMAGEDIR$tagmenu.gif" class="icon" align="absmiddle" />
  118.         </a>
  119.  
  120.         <!-- note that the entire taglist HTML is generated by FeedDemon -->
  121.         <span class="taglist" id="{$postId}_taglist">
  122.             <xsl:choose>
  123.                 <xsl:when test="taglist">
  124.                     <xsl:value-of select="taglist" disable-output-escaping="yes"/>
  125.                 </xsl:when>
  126.                 <xsl:otherwise>
  127.                     <span class="none">$LANG_CONST(S_HdrInfoNoTags)$</span>
  128.                 </xsl:otherwise>
  129.             </xsl:choose>
  130.         </span>
  131.     </xsl:if>
  132.  
  133.     <!-- twitter reply -->
  134.     <xsl:if test="twitterUser">
  135.         <span class="sep">|</span>
  136.         <xsl:variable name="twitrepylink">http://twitter.com/home?status=@<xsl:value-of select="twitterUser"/>%20&in_reply_to_status_id=<xsl:value-of select="twitterStatusId"/></xsl:variable>
  137.         <a class="icon reply" href="{$twitrepylink}" title="$LANG_CONST(S_ReplyOnTwitter)$"><img src="$IMAGEDIR$twitter.png" class="icon" align="absmiddle" />$LANG_CONST(S_Reply)$</a>
  138.     </xsl:if>
  139. </div>
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.